package com.flute.tools.data;

import com.flute.tools.data.DataRecord;

/**
 * 数据库操作接口
 * 
 * @author Dave
 * 
 */
public interface IEditor {

	public void begineTransaction();

	public void commit();

	public void updateRecord(DataRecord dr);

	public void addRecord(DataRecord dr);

	public void addRecord(DataRecord dr, boolean override);

	public void deleteRecord(DataRecord dr);

	public void processRecord(DataRecord dr);
	
	public boolean containsRecord(DataRecord dr);
}
